Build on Podman devices
In addition to building applications for Podman, you can use the toolchain in Podman to build the applications on Podman.
Note: Enable the Docker plugin to develop for Podman devices.
To build applications on a Podman device:
- Go to Preferences > Devices > Devices, and then select Add to add a Podman device.
- Go to Preferences > CMake > Tools, and then select Add.
- In Path, select Remote in the dropdown menu in Browse (Choose on macOS) to add the path to the CMake executable on the Podman device.
- Go to Preferences > Kits > Qt Versions, and then select and hold Shift and select the Add button to add the Qt version on the Podman device.
- Go to Preferences > Kits > Compilers, and then select the compiler type in Add.
- In C compiler path, select Remote in the dropdown menu in Browse (Choose on macOS) to add the path to the compiler on the Podman device.
- Go to Preferences > Kits to add a kit for building on the device.
- Select the device, CMake tool, Qt version, and compiler that you added above.
- In Type in Run device and Build device, select Podman device. Select the actual device to run and build on in Device.
- To specify build settings:
- Open a project for an application you want to develop for the device.
- Select Projects > Build & Run to activate the kit that you specified above.
- Go to Run Settings to specify run settings. Usually, you can use the default settings.
- When you run the project, Qt Creator deploys the application as specified by Deploy Settings.
See also Add CMake tools, Enable and disable plugins, How to: Develop for Podman, How to: Manage kits, and Developing for Podman.